@extends('home.layout.layout')
@section('title','发帖')
@section('con')

	
<div class="hp-wrap">


<!--头部END-->
    <div id="container">
        <div id="container_nopadd">
            <div id="post">
                 <div id="headtop">
<div class="breadCrumbs"><a href="/">{{$block->sname}}</a>&nbsp;>>&nbsp;<a href="/vote">{{$block->bname}}</a></div>
<h1>

发新帖


                </h1>
              </div>
                  <div class="post_topic">
                 
                    <form style="margin:20px 140px;" enctype="multipart/form-data" action="/home/post/insert" autocomplete="off" name="FORM" id="FORM" method="post">
                     
                        <tbody><tr>
                            <th>标题：</th>
                            <td>

                          <input type="text" maxlength="76" style="width:350px;height:30px;" tabindex="1" size="30" id="atc_title" class="inputtext " name="pname" value="">
                          <input type="hidden" name="bbid" value="{{$block->bid}}">
                          </td></tr>

                       <br>
                       <br>
                      
                          <tr>
                          <script type="text/javascript" charset="utf-8" src="/BAIDUUTF8/ueditor.config.js"></script>
                              <script type="text/javascript" charset="utf-8" src="/BAIDUUTF8/ueditor.all.min.js"> </script>
                              <script type="text/javascript" charset="utf-8" src="/BAIDUUTF8/ueditor.parse.min.js"> </script>
                              <!-- <div id="content"><p></p></div> -->
                              <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
                              <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
                              <script type="text/javascript" charset="utf-8" src="/BAIDUUTF8/lang/zh-cn/zh-cn.js"></script>
                          <div class="form-group " >
                              <script id="editor" required name="pcont" type="text/plain" style="width:600px;height:300px;"></script>
                          </div>
                         
                          {{csrf_field()}}
              </tr>
                <tr>
                    <th>&nbsp;</th>
                    <td>
                      <input type="submit" id="submitview" class="btns2" onclick="gopreviewold();" tabindex="3" name="Submit" value="提 交">
                    </td>
                </tr>
                           {{csrf_field()}}
                          
                        </tbody>
                   
                    </form>

                  </div>
            </div>
        </div>
    </div>






<div class="fback"><a href="#" class="btop">回顶部</a></div>
<b id="footer-loadedError"></b>





<script src="/HomeCss/Home/js/g85.js?20170111" async="true"></script>






</div>
	

@endsection
@section('js')
<script type="text/javascript">
  
  var ue = UE.getEditor('editor',{
        toolbars: [
    [
      
        'removeformat', //清除格式
        'time', //时间
        'date', //日期
        
        'cleardoc', //清空文档
       
        'emotion', //表情
       
    ]
]
    });
</script>
@endsection